package com.qin.malldiscount.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qin.malldiscount.domain.CmsSubject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 商品专题管理Service
* @author 覃剑
* @description 针对表【cms_subject(专题表)】的数据库操作Service
* @createDate 2022-11-23 16:22:33
*/
public interface CmsSubjectService extends IService<CmsSubject> {

    /**
     * 查询所有专题
     */
    List<CmsSubject> listAll();

    /**
     * 分页查询专题
     */
    Page<CmsSubject> getList(String keyword, Integer pageNum, Integer pageSize);
}
